import { http } from '@/utils/http'

type Result = {
  success: boolean
  data: Array<any>
}

export const getAsyncRoutes = () => {
  return http.get<Result, {}>('/api/get-async-routes')
}
